package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;
import java.util.Set;

public interface RoleService {

    PageBean<RoleVo> query(RoleDto dto,int pageNum,int pageSize);

    void add(RoleDto dto);

    Set<String> selectid(Long roleId);

    void update(RoleDto dto);

    void delete(Long roleIds);

    List<RoleVo> selectall();

    List<RoleVo> initrole();

}
